package com.driver.system.controller.form;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @author 14375
 */
@Data
@Schema(description = "查询罚款司机")
public class SearchDriverFineByIdForm {

    @NotNull(message = "fineId不能为空")
    @Min(value = 1, message = "fineId不能小于1")
    @Schema(description = "罚款id")
    private Integer fineId;
}
